#include <stdio.h>
//#include <dlfcn.h>
#include <windows.h>
#include "libaddnumbers.h"

#pragma comment(lib, "libaddnumbers.lib")
typedef int (*AddNumbersFunc)(int, int);
int main() {
    AddNumbersFunc addNumbers = AddNumbers; // 直接使用函数指针
    int result = addNumbers(7, 8);
    printf("The sum is: %d\n", result);
    return 0;
}